package com.itheima.reflectlearn;

public class Vip {
    private String name;
    protected int no;
    public String sex;
    int age;

    public Vip() {
    }

    public Vip(String name) {
        this.name = name;
    }

    public Vip(String name, int no) {
        this.name = name;
        this.no = no;
    }

    public Vip(String name, int no, String sex) {
        this.name = name;
        this.no = no;
        this.sex = sex;
    }

    public Vip(String name, String sex, int no, int age) {
        this.name = name;
        this.sex = sex;
        this.no = no;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Vip{" +
                "name='" + name + '\'' +
                ", no=" + no +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                '}';
    }
}
